bc7ef2c8f5f3f7bd13219b07d407b01f6524b671,src/test/java/com/bettercloud/vault/rest/RestTests.java,RestTests,testGet_InsertParams,#,29
Before Change
@Test
public void testGet_InsertParams() throws RestException {
final Response response = new Rest()
.url("https://httpbin.org/get")
.type(RequestType.GET)
.parameter("foo", "bar")
.parameter("apples", "oranges")
.execute();
assertEquals(200, response.getStatus());
After Change
@Test
public void testGet_InsertParams() throws RestException {
final Response response = new Rest()
.url("https://httpbin.org/get")
.parameter("foo", "bar")
.parameter("apples", "oranges")
.get();
assertEquals(200, response.getStatus());